<template>
	<view>
		<u-navbar
			title="隐私政策"
			:autoBack="true"
			placeholder
		>
		</u-navbar>
		<scroll-view :scroll-y="true" :style="{height: scrollViewHeight}">
			<view style="padding: 32rpx;">
				<u-parse :content="appInfo.userPrivacyAgreement"></u-parse>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	import {mapState} from 'vuex';
	export default {
		computed: {
			...mapState(['appInfo']),
			appColor() {
				return this.appPrimaryColor
			},
			scrollViewHeight() {
				return this.scrollHeight - 44 + 'px';
			}
		},
	}
</script>

<style>
	page {
		background-color: #fff;
	}
</style>